package com.sias;

import com.sias.properties.UserAuthProperties;
import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableTransactionManagement //开启注解方式的事务管理
@Slf4j
@MapperScan("com.sias.mapper")
@EnableConfigurationProperties(value = {UserAuthProperties.class})
public class DoorToDoorMassageProgramApplication {

    public static void main(String[] args) {
        log.info("启动程序...   ");
        SpringApplication.run(DoorToDoorMassageProgramApplication.class, args);
    }

}
